_[12]={ // longTime
	$:function(d){
		var t=d.getAttribute('t');
		if(!t)
			t=d.innerHTML;
		t=new Date(t*1);
		d.innerHTML=t.getFullYear()+'年'+(t.getMonth()+1)+'月'+t.getDate()+'日 '+t.getHours()+'时'+t.getMinutes()+'分';
	}
};
_[30]={ // tableEdit
	$:function(d){
		_.Attach(d,'onclick',this,'_C');
		_.Attach(d,'onchange',this,'_D');
		_.Attach(document,'onclick',this,'_G');
	},
	_C:function(d,e){
		this._F();
		var t=e.target;
		var n=t.tagName;
		/*
		if($('#text').val()!=null){
			if(confirm('Are you ok?')){ 
				var tx=$('#text').val();
				$('#text').parent().html(tx); 
			}else{
				$('#text').parent().html(this._x);
			}
		}
		*/
		if((n=='TD'||n=='TH')&&!t.getAttribute('noediting')){
			var v=t.innerHTML;
			this._o=t;
			this._h=v;
			this._x=v;
			t.innerHTML='<input id=text value="'+v+'">';
		}else this._o=null;
	},
	_D:function(d,e){
		var t=e.target;
		this._h=t.value;
	},
	_F:function(){
		var n=this._o;
		if(n)n.innerHTML=this._h;
	},
	_G:function(d){
		this._F();
		/*
		var t=$('#text').val();
		if(t!=null){
			var td=$('#text').parent();
			var tx=td.html();
			if(confirm('Are you ok?')){ 
				$('#text').parent().html(t); 
			}else{
				$('#text').parent().html(this._x);
			}
		}
		*/
	},
	_h:null,
	_o:null,
	_x:null
};
_[33]={ // more
	$:function(d){
		_(d);
	}
};
_[82] = { // tableForm
	$ : function(d) {
		_.Attach(d, 'onclick', this, '_D');
	},
	_D : function(d, e) {
		var length = $('tr').length
		for ( var i = 0; i < length; i++) {
			if ($('tr')[i].className == 'modify') {
				var id = $('tr')[i].firstChild.id;
				var tx = $('tr')[i].firstChild.nextSibling.innerHTML;
				var rf = $('tr')[i].firstChild.nextSibling.nextSibling.innerHTML;
				var qn = $('tr')[i].firstChild.nextSibling.nextSibling.nextSibling.innerHTML;
				var ow = $('tr')[i].firstChild.nextSibling.nextSibling.nextSibling.nextSibling.innerHTML;
				var ps = $('tr')[i].firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.innerHTML;
				$.ajax({
					url : '/post?cl=24&id=' + id,
					data : {'tx':tx,'rf':rf,'qn':qn,'ow':ow,'ps':ps
					},
					type : "POST",
					success : function() {
//						alert("success");
					}
				});
			}
		}
	}
};
